//
//  BaseTRTCViewController.swift
//  onemeetingmac
//
//  Created by 张衡 on 2019/12/17.
//  Copyright © 2019 onemeeting. All rights reserved.
//

import Foundation

class BaseTRTCViewController: NSViewController {
    
    override func loadView() {
        let view = NSView.init(frame: NSMakeRect(0, 0, kTRTCWinWidth, kTRTCWinHeight))
        view.wantsLayer = true
        view.layer?.backgroundColor = NSColor.white.cgColor
        self.view = view
    }
    
    convenience init(size:NSSize) {
        self.init()
        self.view.frame = NSRect.init(x: 0, y: 0, width: size.width, height: size.height)
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()
    }
    
}
